package com.party.file.picapi;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @Author: Administrator.
 * @Description: 新的查询结果
 * @Date:Created in 2017/11/7 0007 上午 10:00.
 */
public class NewSearchResult {
    private Integer code;

    private String message;

    // 通过 CDN 访问该文件的资源链接
    @JSONField(name = "access_url")
    private String accessUrl;

    // （不通过 CDN ）直接访问 COS 的资源链接
    @JSONField(name = "source_url")
    private String sourceUrl;

    // 文件大小
    private Integer filesize;

    public String getAccessUrl() {
        return accessUrl;
    }

    public void setAccessUrl(String accessUrl) {
        this.accessUrl = accessUrl;
    }

    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getFilesize() {
        return filesize;
    }

    public void setFilesize(Integer filesize) {
        this.filesize = filesize;
    }
}
